package com.lcq.course.dao;

import com.lcq.course.entity.Good;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CourseListDao {
    @Select("select * from goods where goods_id = #{id} ")
    Good getGoodById(int id);
}
